<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>云豆网注册</title>
	</head>
	<body>
		<h2 >注册信息</h2>
		<form action="http://localhost:5000/reg" method="get">
			<input type="hidden" name="subject" value="h5"/>
			<p>
				国籍：<input type="text" name="guoji" value="china" readonly="readonly"/>
			</p>
			<p>
				意向学习课程：<input type="text" name="yixiang" value="java后端开发" disabled />
			</p>
			<p>
				<label for="nickname">昵称:</label><input id="nickname" pattern="\w{2,8}" required placeholder="请输入昵称" type="text" name="nickname" maxlength="10" size="12"/>
			</p>
			<p>
				密码:<input type="password" required placeholder="请输入密码" name="doupass" maxlength="12" size="20"/>
			</p>
			<p>
				<input type="radio" name="sex" value="male" checked/>男
				<input type="radio" name="sex" value="female" id="female"/><label for="female">女</label>
				<input type="radio" name="sex" value="ghost" id="ghost"/><label for="ghost">妖</label>
			</p>
			<p>
				你是怎么知道青鸟的:
				<input type="checkbox" name="from" value="TV"/>电视
				<input type="checkbox" name="from" value="paper"/>报纸
				<input type="checkbox" name="from" checked value="QQ"/>QQ
				<input type="checkbox" name="from" value="friend"/>朋友介绍
				<input type="checkbox" name="from" value="cheat"/>被骗来的
			</p>
			<p>
				来自省份：
				<select name="province">
					<optgroup label="华东">
						<option value="jiangsu">江苏</option>
						<option value="anhui">安徽</option>
						<option value="sd">山东</option>
						<option value="jiangxi" selected>江西</option>
					</optgroup>
					<optgroup label="华南">
						<option value="guangdong">广东</option>
						<option value="guangxi">广西</option>
						<option value="hunan">湖南</option>
					</optgroup>
				</select>
			</p>
			<p>
				手机号:<input type="text" placeholder="请输入手机号" name="phone" pattern="1\d{10}"  size="15"/>
			</p>
			<p>
				<label for="idcard">身份证</label>
				<input type="text" name="idcard" id="idcard" pattern="\d{17}(\d|X)"/>
			</p>
			<p>
				个人经历<br/>
				<textarea name="selfIntro" cols="30" rows="10"></textarea>
			</p>
			<p>
				大头照：<input type="file" name="datouzhao"/>
			</p>
			<p>
				电子邮箱：<input type="email" name="myemail"/>
			</p>
			<p>
				网址：<input type="url" name="url"/>
			</p>
			<p>
				工作年限:<input type="number" name="workyear" min="0" max="50" step="1"/>
				
			</p>
			<p>
				体重公斤:<input type="number"  name="weight" min="10" max="200" step="0.1"/>
			</p>
			<p>资料完整度
			  <input type="range" min="0" max="100" name="finish"/>
			</p>
			<p>
				搜索框:<input type="search" name="wd"/>
			</p>
			<p>
				<input type="checkbox" name="accpet" required value="yes"/>请同意我们的<a href="#">用户协议</a>
			</p>
			<p>
				<input type="reset" value="重来"/>
				<input type="submit" value="注册" />
				<input type="button" value="普通按钮" />
			</p>
		</form>
	</body>
</html>
